package com.aaa.ssm.dao;


import com.aaa.ssm.entity.Registration;
import com.aaa.ssm.entity.Scheduling;
import com.aaa.ssm.entity.Subscribe;
import com.aaa.ssm.entity.SysCareer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wjz
 * 2023/10/19
 */
public interface RegistrationDao {
    List<Registration> queryByParam(Registration registration);


    List<Registration>queryByIn(Registration registration);
    int delete(String id);

    int add(Registration registration);

    int update(@Param("careerId") String careerId, @Param("date") String date);


    int updateId(String id);

    List<SysCareer> queryTreeDataByUserName(String name);

    int updateBy(Registration registration);

}
